package com.snailhd.common.enums;

import lombok.Data;



public enum RespCodeEnum {

    SUCCESS("0000","成功"),
    FAIL("9999","失败");

    private String code;
    private String msg;

    RespCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
